#pragma once
#include<stdlib.h>
#include<stdio.h>
#include<stdbool.h>
#include<assert.h>
typedef int QueueDate ;
typedef struct QueueNode
{
	struct QueueNode* next;
	QueueDate date;

}QNode;

typedef struct Queue
{
	QNode* head;
	QNode* tail;
	int size;

}Queue;


void QueueInit(Queue* pq);
void QueueDetroy(Queue* pq);
void QueuePush(Queue* pq, QueueDate x);
QueueDate QueuePop(Queue* pq);
int QueueSize(Queue* pq);
bool QueueEmpty(Queue* pq);
QueueDate QueueFront(Queue* pq);
QueueDate QueueBack(Queue* pq);